Cocktail Help Reference
PagerRepository<T> Class Members
See Also  Properties  Methods  Send Feedback
Cocktail Assembly > Cocktail Namespace : PagerRepository<T> Class


Glossary Item Box

The following tables list the members exposed by PagerRepository<T>.

Public Constructors

 NameDescription
Public ConstructorPagerRepository<T> ConstructorCreates a new repository.  
Top

Public Properties

 NameDescription
Public PropertyDefaultQueryStrategyGets or sets the repository's default query strategy. (Inherited from Cocktail.Repository<T>)
Top

Protected Properties

 NameDescription
Protected PropertyEntityManagerReturns the EntityManager used by this repository. (Inherited from Cocktail.Repository<T>)
Top

Public Methods

 NameDescription
Public MethodAllAsyncOverloaded. Retrieves all entities with the repository's default query strategy. (Inherited from Cocktail.Repository<T>)
Public MethodAllInCacheRetrieves all entities from the cache. (Inherited from Cocktail.Repository<T>)
Public MethodAllInDataSourceAsyncOverloaded. Retrieves all entities from the back-end data source. (Inherited from Cocktail.Repository<T>)
Public MethodCountAsyncReturns the number of entities. (Inherited from Cocktail.Repository<T>)
Public MethodCountInCacheReturns the number of entities in the cache. (Inherited from Cocktail.Repository<T>)
Public MethodDeleteOverloaded. Marks the specified entity as to be deleted. (Inherited from Cocktail.Repository<T>)
Public MethodExistsInCacheReturns true if the entity matching the provided key is found in the cache. (Inherited from Cocktail.Repository<T>)
Public MethodFindAsyncOverloaded. Retrieves one or more entities matching the provided expression with the repository's default query strategy. (Inherited from Cocktail.Repository<T>)
Public MethodFindInCacheOverloaded. Retrieves one or more entities matching the provided expression from the cache. (Inherited from Cocktail.Repository<T>)
Public MethodFindInDataSourceAsyncOverloaded. Retrieves one or more entities matching the provided expression from the back-end data source. (Inherited from Cocktail.Repository<T>)
Public MethodPagerOverloaded. Returns a pager which allows entities to be paged.  
Public MethodWithIdAsyncOverloaded. Retrieves the entity matching the provided key with the repository's default query strategy. (Inherited from Cocktail.Repository<T>)
Public MethodWithIdFromCacheRetrieves the entity matching the provided key from the entity cache. (Inherited from Cocktail.Repository<T>)
Public MethodWithIdFromDataSourceAsyncOverloaded. Retrieves the entity matching the provided key from the back-end data source. (Inherited from Cocktail.Repository<T>)
Top

Protected Methods

 NameDescription
Protected MethodGetFindBaseQueryReturns the base query used for Find/All operations. Override to use named queries instead of the default queries. (Inherited from Cocktail.Repository<T>)
Protected MethodGetFindQueryOverloaded. Returns the query to retrieve a list of entities. (Inherited from Cocktail.Repository<T>)
Protected MethodGetKeyQueryReturns the query to retrieve a single entity, (Inherited from Cocktail.Repository<T>)
Top

See Also

© 2013 All Rights Reserved.